﻿using NB.MGJ.Common.API;
using NB.MGJ.Common.Utility;
using NB.MGJ.Model;
using NB.MGJ.Service;
using NB.MGJ.Service.Product;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace NB.MGJ.API.API_WX
{
    [ApiAuthorizeFilter]
    [ApiHandleError]
    public class ApiMGJMemberInfoController : ApiBaseController<LogOnUserModel>
    {
       public ManagerService ms = new ManagerService();
      

        #region 获取用户信息
        [Route("nbapi/private/Info")]
        [HttpGet]
        public IHttpActionResult GetUserInfo(int? userid)
        {
            return ApiSuccess(ms.GetAppUserInfo(userid.Value));
        }
        #endregion

      
    }
}
